Skip to content

Remote OCC env vars#24

Merged
phil-davis merged 1 commit into
masterfrom
fix_remote_occ
Sep 8, 2018
Merged

Remote OCC env vars#24
phil-davis merged 1 commit into
masterfrom
fix_remote_occ

Conversation

@patrickjahns

@patrickjahns patrickjahns commented Sep 7, 2018

Copy link
Copy Markdown
Contributor

Description

This is an addendum to #16

This ensure that during testing specific test vars are present

Checklist:

@phil-davis

Copy link
Copy Markdown
Contributor

It looks like fun code, but I don't understand why it is needed. How are there situations where the existing code does not find these env vars to pass on?

@phil-davis

Copy link
Copy Markdown
Contributor

OK, now I see the comment #16 (comment)

@phil-davis phil-davis merged commit c6f3c4d into master Sep 8, 2018
@patrickjahns patrickjahns deleted the fix_remote_occ branch September 8, 2018 11:11
@patrickjahns

Copy link
Copy Markdown
Contributor Author

My bad - could have added that also in this PR. Yes it's the case that without E in the env vars, they are not automatically available in $_ENV. The functional tries to fetch $_SERVER and $_ENV - but now additionally tries getenv() to explicitly get important env vars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants